import type { Locale } from './index';

export const getLanguage = (locale: Locale) => {
  return locale.split('-')[0];
}; 